import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:enjoy_plus/pages/tab_bar_page.dart';

void main() {
  testWidgets('App initialization test', (WidgetTester tester) async {
    // Build our app and trigger a frame.
    await tester.pumpWidget(MaterialApp(
      home: const TabBarPage(),
    ));

    // 验证 TabBarPage 是否成功加载
    expect(find.byType(TabBarPage), findsOneWidget);
  });
}
